package com.cn.hotel.service;

import com.cn.hotel.model.AboutCompanyModel;
import com.cn.hotel.model.CompanyModel;

import java.util.List;

public interface ICompanyService {
    List<CompanyModel> findAll(CompanyModel companyModel);

    int getNumber(CompanyModel companyModel);

    CompanyModel findById(Integer temp);

    int edit(CompanyModel companyModel);

    int add(CompanyModel companyModel);

    int delete(Integer temp);
//-------------------前端数据调取的逻辑代码-----------------------------
    AboutCompanyModel getAboutCompanyModel();
}
